import Request from './request';


// 封装获取项目信息接口
const  login = (data) => {
    return Request({
        url: "/api/login",
        method: "post",
        data: data,
    });
};


const  register = (data) => {
    return Request({
        url: "/api/register",
        method: "post",
        data: data,
});
};


export {
  // 获取考勤记录
  login,
  // 打卡
  register
};
